Manager: Resource Manager



Carbon supports the Resource Manager, with the following exceptions, which primarily involve ROM resource functions and functions that access the resource map:

* There is no ROM in Mac OS X, so the ROM-related functions RGetResource and TempInsertROMMap are not supported.

* There is no way to directly walk the resource chain. Instead, Carbon supplies a small number of new functions for proper management of the resource chain.

* The function RsrcMapEntry, which provides an interface to the map handle format, is not supported.

* The low-memory global variables JCheckLoad, TopMapHndl, CurMap, and SysMapHndl are not supported.

Note also that you should not attempt to store resources in the system heap, since you will not have the same access to the system heap as you do in previous versions of the Mac OS.

Supported  AddResource

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Unsupported  addresource

Use AddResource instead. Not available in Carbon.

Supported  CallResErrProc

Supported  ChangedResource

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  CloseResFile

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  Count1Resources

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  Count1Types

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  CountResources

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  CountTypes

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Unsupported  createresfile

Not available in Carbon.

Unsupported  CreateResFile

Not available in Carbon.

Supported  CreateResFileFSRef

Supported  CurResFile

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  DetachResource

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  DetachResourceFile

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  DisposeResErrUPP

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  FSpCreateResFile

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  FSpOpenOrphanResFile

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  FSpOpenResFile

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  FSpResourceFileAlreadyOpen

Available in Carbon 1.0.2 and later when running Mac OS 9, or later.

Supported  Get1IndResource

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  Get1IndType

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  Get1NamedResource

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Unsupported  get1namedresource

Use Get1NamedResource instead. Not available in Carbon.

Supported  Get1Resource

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  GetIndResource

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  GetIndType

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  GetMaxResourceSize

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  GetNamedResource

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Unsupported  getnamedresource

Use GetNamedResource instead. Not available in Carbon.

Supported  GetNextFOND

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  GetNextResourceFile

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  GetResAttrs

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  GetResFileAttrs

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  GetResInfo

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Unsupported  getresinfo

Use GetResInfo instead. Not available in Carbon.

Supported  GetResource

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  GetResourceSizeOnDisk

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  GetTopResourceFile

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  HCreateResFile

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  HomeResFile

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  HOpenResFile

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Unsupported  InitResources

Not available in Carbon.

Supported  InsertResourceFile

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  InvokeResErrUPP

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  LoadResource

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  NewResErrUPP

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Unsupported  OpenResFile

Carbon does not support MFS calls. Use HFS+ calls instead. Not available in Carbon.

Unsupported  openresfile

Not available in Carbon.

Supported  OpenResFileFSRef

Supported  OpenRFPerm

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Unsupported  openrfperm

Use OpenRFPerm instead. Not available in Carbon.

Supported  ReadPartialResource

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Unsupported  RegisterResourceEndianFilter

Supported  ReleaseResource

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  RemoveResource

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  ResError

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  ResErrProcPtr

Unsupported  ResourceEndianFilterPtr

Supported  ResourceFileAlreadyOpenFSRef

Unsupported  RGetResource

There will be no ROM in Mac OS X, so this ROM-related function will not be supported. Not available in Carbon.

Unsupported  RsrcMapEntry

This function provides an interface based on the map handle format. You won't be able to use the map handle to walk the resource chain. Apple will provide a new API in Carbon for managing the resource chain. Not available in Carbon.

Unsupported  RsrcZoneInit

Not available in Carbon.

Supported  SetResAttrs

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  SetResFileAttrs

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  SetResInfo

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Unsupported  setresinfo

Use SetResInfo instead. Not available in Carbon.

Supported  SetResLoad

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  SetResourceSize

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  SetResPurge

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Unsupported  TempInsertROMMap

There will be no ROM in Mac OS X, so this ROM-related function will not be supported. Not available in Carbon.

Supported  Unique1ID

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  UniqueID

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  UpdateResFile

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  UseResFile

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  WritePartialResource

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

Supported  WriteResource

Available in Carbon 1.0.2 and later when running Mac OS 8.1 or later.

[Table of Contents] [Manager Index] [Function Index]

Generated on: 8/1/2000. Copyright © 1999, 2000 Apple Computer, Inc. All rights reserved.